﻿using System.Data.Entity;

namespace GioHangViet.Models
{
    public class GoLungTungModel: DbContext
    {
        public DbSet<Author> Authors { get; set; }

        public DbSet<AuthorProduct> AuthorProducts { get; set; }

        public DbSet<CategoryProduct> CategoryProducts { get; set; }

        public DbSet<Category> Categories { get; set; }

        public DbSet<Comter> Comters { get; set; }

        public DbSet<ComterProduct> ComterProducts { get; set; }

        public DbSet<Language> Languages { get; set; }

        public DbSet<News> Newses { get; set; }

        public DbSet<Order> Orders { get; set; }

        public DbSet<OrderDetail> OrderDetails { get; set; }

        public DbSet<Product> Products { get; set; }

        public DbSet<ProductComment> ProductComments { get; set; }

        public DbSet<ProductGallery> ProductGalleries { get; set; }

        public DbSet<Promotion> Promotions { get; set; }

        public DbSet<ProductPromotion> ProductPromotions { get; set; }

        public DbSet<Publisher> Publishers { get; set; }

        public DbSet<User> Users { get; set; }

        public DbSet<UserOnline> UserOnlines { get; set; }

        public DbSet<Provice> Provices { get; set; }

        public DbSet<Ward> Wards { get; set; }

    }
}